﻿package mortal.game.view.daily
{
    import Message.DB.Tables.*;
    import Message.Game.*;

    public class DailyCache extends Object
    {
        public var index:int;
        public var data:SDailyVeiwInfo;
        private var _todayNotOpenActives:Array;

        public function DailyCache()
        {
            this._todayNotOpenActives = [];
            return;
        }// end function

        public function get todayNotOpenActives() : Array
        {
            return this._todayNotOpenActives;
        }// end function

        public function set todayNotOpenActives(param1:Array) : void
        {
            this._todayNotOpenActives = param1;
            return;
        }// end function

        public function hasTime(param1:TDailyViewConfig) : Boolean
        {
            if (this.data == null)
            {
                return false;
            }
            return this.data.times[param1.type] < parseInt(param1.times);
        }// end function

    }
}
